package shuati.love;

import java.sql.Array;
import java.util.Arrays;
import java.util.Random;
import java.util.Stack;

public class Test {

    public static void main(String[] args) {

        Love[] love = new Love[7];
        Integer[] t = new Integer[7];
        Random random = new Random();
        System.out.print("  姓名\t"+"  喜爱度\n");
        for (int i = 0; i < love.length; i++) {
            String[] name = {"小丽", "力力", "热巴", "扎扎", "小三", "小陈", "笑笑"};
            int preference = random.nextInt(101);
            love[i] = new Love(name[i],preference);
            t[i]= preference ;
            System.out.println("  "+love[i].getName()+"     " +love[i].getPreference()+"%!");
        }

    }
}
